package com.biglead.orderservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.biglead.common.pojo.GoodsInfo;

public interface GoodsInfoService extends IService<GoodsInfo> {
    void testRedisLoadGoods(Long sid);

    GoodsInfo getGoodsInfoById(Long sid);

    boolean updateStockById(GoodsInfo goodsInfo);

    boolean updateStockByOptimistic(GoodsInfo goodsInfo);
}
